<?php
// +----------------------------------------------------------------------
// | Niucloud-admin 企业快速开发的多应用管理平台
// +----------------------------------------------------------------------
// | 官方网址：https://www.niucloud.com
// +----------------------------------------------------------------------
// | niucloud团队 版权所有 开源版本可自由商用
// +----------------------------------------------------------------------
// | Author: Niucloud Team
// +----------------------------------------------------------------------

namespace addon\shop\app\listener\seckill;

use addon\shop\app\service\admin\goods\OfferGoodsService;

/**
 * 获取秒杀商品
 * Class TreasureTypeListener
 * @package addon\shop\app\listener\treasure
 */
class SeckillSupportGoodsListener
{

    public function handle($params)
    {
        if(!empty($params['key']) && $params['key'] == 'shop'){
            return (new OfferGoodsService())->getOfferGoodsList($params);
        }
    }


}